﻿@{
    Layout = "~/Views/Shared/_Admin.cshtml";
}
@section css {
    <link href="~/Content/bootstrap-table.css" rel="stylesheet" />
    <link href="~/Content/sweetalert.css" rel="stylesheet" />
    @RenderSection("css", false)
}
@section javascript {
    <script src="~/Scripts/longbow.dataentity.js"></script>
    <script src="~/Scripts/sweetalert.js"></script>
    <script src="~/Scripts/bootstrap-table.js"></script>
    <script src="~/Scripts/bootstrap-table-zh-CN.js"></script>
    <script src="~/Scripts/jquery.validate.js"></script>
    <script src="~/Scripts/messages_zh.js"></script>
    @RenderSection("Javascript", false)
}
@section modal {
    <div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                @RenderSection("modal", false)
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">
                        关闭
                    </button>
                    <button type="button" class="btn btn-primary" id="btnSubmit">
                        提交更改
                    </button>
                </div>
            </div>
        </div>
    </div>
    @RenderSection("customModal", false)
    <div class="modal fade" id="echartsModal" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="blockEcharts">echarts图表</h4>
                </div>
                <div class="modal-body">
                    <div id="echartsShow" class="form-control" data-role="intro" style="width:500px;height:400px;"></div>
                </div>
                <div class="modal-footer">
                    <button id="buttonCloseBlock" type="button" class="btn btn-default" data-dismiss="modal">
                        关闭
                    </button>
                </div>
            </div>
        </div>
    </div>
}
<div class="panel panel-default">
    <div class="panel-heading">查询条件</div>
    <div class="panel-body">
        @RenderSection("query", false)
    </div>
</div>
<div id="toolbar" class="btn-group hidden">
    @Html.Partial("_ToolbarButtonGroup")
    <div class="toolbar btn-group dropdown">
        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button"><i class="fa fa-gear"></i></button>
        <div class="dropdown-menu">
            <a id="tb_add" href="#" title="新增"><i class="fa fa-plus"></i></a>
            <a id="tb_delete" href="#" title="删除"><i class="fa fa-remove"></i></a>
            <a id="tb_edit" href="#" title="编辑"><i class="fa fa-pencil"></i></a>
            @RenderSection("toolbar", false)
        </div>
    </div>
</div>
<div class="panel panel-default">
    <div class="panel-heading">
        查询结果
    </div>
    <div class="panel-body">
        <table></table>
    </div>
</div>
